package info.liuxing.okhttp.ssl;

import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;

/**
 * TrustAllHostnameVerifier
 *
 * @author liuxing (SE)
 * @summary TrustAllHostnameVerifier
 * @Copyright (c) 2017, Lianjia Group All Rights Reserved.
 * @since 2017-11-30 23:39
 */
public class TrustAllHostnameVerifier implements HostnameVerifier {

    @Override
    public boolean verify(String s, SSLSession sslSession) {
        return true;
    }
}
